<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set value="${pageContext.request.contextPath }" var="APP_PATH"></c:set>  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<body onload="startTime()">
<header class="header dark-bg" onLoad="startTime()">
            <div class="toggle-nav">
                <div class="icon-reorder tooltips" data-original-title="Toggle Navigation" data-placement="bottom"></div>
            </div>

            <!--logo start-->
            <a href="index.jsp" class="logo">中国移动 <span class="lite">电子运行维护系统</span></a>
            <!--logo end-->


            <div class="top-nav notification-row">                
                <!-- notificatoin dropdown start-->
                <ul class="nav pull-right top-menu">
                   
                    <li class="dropdown">
                        <a data-toggle="dropdown" class="dropdown-toggle">               
                            <span class="username" id="ShowTime"></span>
                        </a>
                    </li>
                    
                    
                    
                    <!-- alert notification end-->
                    <!-- user login dropdown start-->
                    <li class="dropdown">
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                           <!--  <span class="profile-ava">
                                <img alt="" src="img/avatar1_small.jpg">
                            </span>  -->
                      
                            <span class="username">${empty loginUser.username?"登入系统":loginUser.username } </span>
                            <b class="caret"></b>
                        </a>
                        <ul class="dropdown-menu extended logout">
                            <div class="log-arrow-up"></div>
                            <li class="eborder-top">
                                <a ><i class="icon_profile"></i> 个人中心</a>
                            </li>
                            
                            <li>
                            <c:choose>
                            	<c:when test="${empty loginUser.username}">
                            	 	<a href="login.jsp"><i class="icon_key_alt"></i>登入系统</a>
                            	</c:when>
                            	<c:otherwise>
                            		 <a href="${APP_PATH }/loginOut"><i class="icon_key_alt"></i>退出登录 </a>
                            	</c:otherwise>
                            
                            </c:choose>
                               
                            </li>
                            
                            <li>
                                <a ><i class="icon_key_alt"></i> Documentation</a>
                            </li>
                        </ul>
                    </li>
                   
                </ul>
               
            </div>
      </header>      
      <!--header end-->
       <!-- container section end -->
    <!-- javascripts -->
    <script src="js/jquery.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <!-- nicescroll -->
    <script src="js/jquery.scrollTo.min.js"></script>
    <script src="js/jquery.nicescroll.js" type="text/javascript"></script>
    <!--custome script for all page-->
  
 </body>